//
//  Controntroller.swift
//  weibo1
//
//  Created by 代亚洲 on 16/4/21.
//  Copyright © 2016年 itcast. All rights reserved.
//

import UIKit



// 在Swift 中，类可以不用继承于其他类


// 屏幕宽高
let SCREENW = UIScreen.mainScreen().bounds.size.width
let SCREENH = UIScreen.mainScreen().bounds.size.height

// 随机颜色
var RandomColor: UIColor {
    return UIColor(red: CGFloat(random()%256)/255, green: CGFloat(random()%256)/255, blue: CGFloat(random()%256)/255, alpha: 1)
}

//let RandomColor1 = UIColor(red: CGFloat(random()%256)/255, green: CGFloat(random()%256)/255, blue: CGFloat(random()%256)/255, alpha: 1)


/// MARK: - 通知名

/**
* 切换控制器的通知
*/
let ChangeRootVCNotification = "ChangeRootVCNotification"


/// 表情按钮点击通知
let HMEmoticonButtonClickNotification = "HMEmoticonButtonClickNotification"
/// 删除按钮点击
let HMEmoticonDeleteButtonClickNotification = "HMEmoticonDeleteButtonClickNotification"
